#!__author__ = "yf"
"""
pycharm
"""
import configparser

def getIP():
    conf = configparser.ConfigParser()
    conf.read(filenames = 'conf.ini')
    ip = conf.get("host", "ip")
    print(ip)
    port = conf.getint("host", "port")
    print(port)
    return "{}:{}".format(ip, port)

print(getIP())